package com.yc.study.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.study.entity.Announcement;
import com.yc.study.vo.AnnouncementVo;

/**
 * 服务类
 *
 * @author 王妍
 * @since 2022-02-20
 */
public interface IAnnouncementService extends IService<Announcement> {
  /**
   * 加载公告页
   *
   * @param announcement 公告参数
   * @return 公告列表
   */
  Page<AnnouncementVo> loadPage(
      Page<AnnouncementVo> announcementVoPage, AnnouncementVo announcement);
}
